package com.qcby.dao;

import com.qcby.entity.Classes;
import com.qcby.entity.Tc;
import com.qcby.entity.vo.ClassesVo;
import com.qcby.entity.vo.TeachersVo;

import java.util.List;

public interface ClassesDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Classes record);

    int insertSelective(Classes record);

    Classes selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Classes record);

    int updateByPrimaryKey(Classes record);
    /*查所有*/
    List<ClassesVo> selectAll(ClassesVo classesVo);
    /*查班级对应任课老师 延迟加载专用*/
    List<ClassesVo> selectJoinById(Integer id);

    /*插入授课老师*/
    int inserttc(Tc tc);
    /*删除授课老师*/
    int deltc(Integer id);
}